#include "stdafx.h"
const WORD g_ScaleXTable[64-16+1][96] = {
0,42,85,128,170,213,256,298,341,384,426,469,512,554,597,640,682,725,768,810,853,896,938,981,1024,1066,1109,1152,1194,1237,1280,1322,1365,1408,1450,1493,1536,1578,1621,1664,1706,1749,1792,1834,1877,1920,1962,2005,2048,2090,2133,2176,2218,2261,2304,2346,2389,2432,2474,2517,2560,2602,2645,2688,2730,2773,2816,2858,2901,2944,2986,3029,3072,3114,3157,3200,3242,3285,3328,3370,3413,3456,3498,3541,3584,3626,3669,3712,3754,3797,3840,3882,3925,3968,4010,4053,
0,45,90,136,181,226,272,317,362,408,453,498,544,589,634,680,725,770,816,861,906,952,997,1042,1088,1133,1178,1224,1269,1314,1360,1405,1450,1496,1541,1586,1632,1677,1722,1768,1813,1858,1904,1949,1994,2040,2085,2130,2176,2221,2266,2312,2357,2402,2448,2493,2538,2584,2629,2674,2720,2765,2810,2856,2901,2946,2992,3037,3082,3128,3173,3218,3264,3309,3354,3400,3445,3490,3536,3581,3626,3672,3717,3762,3808,3853,3898,3944,3989,4034,4080,4125,4170,4216,4261,4306,
0,48,96,144,192,240,288,336,384,432,480,528,576,624,672,720,768,816,864,912,960,1008,1056,1104,1152,1200,1248,1296,1344,1392,1440,1488,1536,1584,1632,1680,1728,1776,1824,1872,1920,1968,2016,2064,2112,2160,2208,2256,2304,2352,2400,2448,2496,2544,2592,2640,2688,2736,2784,2832,2880,2928,2976,3024,3072,3120,3168,3216,3264,3312,3360,3408,3456,3504,3552,3600,3648,3696,3744,3792,3840,3888,3936,3984,4032,4080,4128,4176,4224,4272,4320,4368,4416,4464,4512,4560,
0,50,101,152,202,253,304,354,405,456,506,557,608,658,709,760,810,861,912,962,1013,1064,1114,1165,1216,1266,1317,1368,1418,1469,1520,1570,1621,1672,1722,1773,1824,1874,1925,1976,2026,2077,2128,2178,2229,2280,2330,2381,2432,2482,2533,2584,2634,2685,2736,2786,2837,2888,2938,2989,3040,3090,3141,3192,3242,3293,3344,3394,3445,3496,3546,3597,3648,3698,3749,3800,3850,3901,3952,4002,4053,4104,4154,4205,4256,4306,4357,4408,4458,4509,4560,4610,4661,4712,4762,4813,
0,53,106,160,213,266,320,373,426,480,533,586,640,693,746,800,853,906,960,1013,1066,1120,1173,1226,1280,1333,1386,1440,1493,1546,1600,1653,1706,1760,1813,1866,1920,1973,2026,2080,2133,2186,2240,2293,2346,2400,2453,2506,2560,2613,2666,2720,2773,2826,2880,2933,2986,3040,3093,3146,3200,3253,3306,3360,3413,3466,3520,3573,3626,3680,3733,3786,3840,3893,3946,4000,4053,4106,4160,4213,4266,4320,4373,4426,4480,4533,4586,4640,4693,4746,4800,4853,4906,4960,5013,5066,
0,56,112,168,224,280,336,392,448,504,560,616,672,728,784,840,896,952,1008,1064,1120,1176,1232,1288,1344,1400,1456,1512,1568,1624,1680,1736,1792,1848,1904,1960,2016,2072,2128,2184,2240,2296,2352,2408,2464,2520,2576,2632,2688,2744,2800,2856,2912,2968,3024,3080,3136,3192,3248,3304,3360,3416,3472,3528,3584,3640,3696,3752,3808,3864,3920,3976,4032,4088,4144,4200,4256,4312,4368,4424,4480,4536,4592,4648,4704,4760,4816,4872,4928,4984,5040,5096,5152,5208,5264,5320,
0,58,117,176,234,293,352,410,469,528,586,645,704,762,821,880,938,997,1056,1114,1173,1232,1290,1349,1408,1466,1525,1584,1642,1701,1760,1818,1877,1936,1994,2053,2112,2170,2229,2288,2346,2405,2464,2522,2581,2640,2698,2757,2816,2874,2933,2992,3050,3109,3168,3226,3285,3344,3402,3461,3520,3578,3637,3696,3754,3813,3872,3930,3989,4048,4106,4165,4224,4282,4341,4400,4458,4517,4576,4634,4693,4752,4810,4869,4928,4986,5045,5104,5162,5221,5280,5338,5397,5456,5514,5573,
0,61,122,184,245,306,368,429,490,552,613,674,736,797,858,920,981,1042,1104,1165,1226,1288,1349,1410,1472,1533,1594,1656,1717,1778,1840,1901,1962,2024,2085,2146,2208,2269,2330,2392,2453,2514,2576,2637,2698,2760,2821,2882,2944,3005,3066,3128,3189,3250,3312,3373,3434,3496,3557,3618,3680,3741,3802,3864,3925,3986,4048,4109,4170,4232,4293,4354,4416,4477,4538,4600,4661,4722,4784,4845,4906,4968,5029,5090,5152,5213,5274,5336,5397,5458,5520,5581,5642,5704,5765,5826,
0,64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048,2112,2176,2240,2304,2368,2432,2496,2560,2624,2688,2752,2816,2880,2944,3008,3072,3136,3200,3264,3328,3392,3456,3520,3584,3648,3712,3776,3840,3904,3968,4032,4096,4160,4224,4288,4352,4416,4480,4544,4608,4672,4736,4800,4864,4928,4992,5056,5120,5184,5248,5312,5376,5440,5504,5568,5632,5696,5760,5824,5888,5952,6016,6080,
0,66,133,200,266,333,400,466,533,600,666,733,800,866,933,1000,1066,1133,1200,1266,1333,1400,1466,1533,1600,1666,1733,1800,1866,1933,2000,2066,2133,2200,2266,2333,2400,2466,2533,2600,2666,2733,2800,2866,2933,3000,3066,3133,3200,3266,3333,3400,3466,3533,3600,3666,3733,3800,3866,3933,4000,4066,4133,4200,4266,4333,4400,4466,4533,4600,4666,4733,4800,4866,4933,5000,5066,5133,5200,5266,5333,5400,5466,5533,5600,5666,5733,5800,5866,5933,6000,6066,6133,6200,6266,6333,
0,69,138,208,277,346,416,485,554,624,693,762,832,901,970,1040,1109,1178,1248,1317,1386,1456,1525,1594,1664,1733,1802,1872,1941,2010,2080,2149,2218,2288,2357,2426,2496,2565,2634,2704,2773,2842,2912,2981,3050,3120,3189,3258,3328,3397,3466,3536,3605,3674,3744,3813,3882,3952,4021,4090,4160,4229,4298,4368,4437,4506,4576,4645,4714,4784,4853,4922,4992,5061,5130,5200,5269,5338,5408,5477,5546,5616,5685,5754,5824,5893,5962,6032,6101,6170,6240,6309,6378,6448,6517,6586,
0,72,144,216,288,360,432,504,576,648,720,792,864,936,1008,1080,1152,1224,1296,1368,1440,1512,1584,1656,1728,1800,1872,1944,2016,2088,2160,2232,2304,2376,2448,2520,2592,2664,2736,2808,2880,2952,3024,3096,3168,3240,3312,3384,3456,3528,3600,3672,3744,3816,3888,3960,4032,4104,4176,4248,4320,4392,4464,4536,4608,4680,4752,4824,4896,4968,5040,5112,5184,5256,5328,5400,5472,5544,5616,5688,5760,5832,5904,5976,6048,6120,6192,6264,6336,6408,6480,6552,6624,6696,6768,6840,
0,74,149,224,298,373,448,522,597,672,746,821,896,970,1045,1120,1194,1269,1344,1418,1493,1568,1642,1717,1792,1866,1941,2016,2090,2165,2240,2314,2389,2464,2538,2613,2688,2762,2837,2912,2986,3061,3136,3210,3285,3360,3434,3509,3584,3658,3733,3808,3882,3957,4032,4106,4181,4256,4330,4405,4480,4554,4629,4704,4778,4853,4928,5002,5077,5152,5226,5301,5376,5450,5525,5600,5674,5749,5824,5898,5973,6048,6122,6197,6272,6346,6421,6496,6570,6645,6720,6794,6869,6944,7018,7093,
0,77,154,232,309,386,464,541,618,696,773,850,928,1005,1082,1160,1237,1314,1392,1469,1546,1624,1701,1778,1856,1933,2010,2088,2165,2242,2320,2397,2474,2552,2629,2706,2784,2861,2938,3016,3093,3170,3248,3325,3402,3480,3557,3634,3712,3789,3866,3944,4021,4098,4176,4253,4330,4408,4485,4562,4640,4717,4794,4872,4949,5026,5104,5181,5258,5336,5413,5490,5568,5645,5722,5800,5877,5954,6032,6109,6186,6264,6341,6418,6496,6573,6650,6728,6805,6882,6960,7037,7114,7192,7269,7346,
0,80,160,240,320,400,480,560,640,720,800,880,960,1040,1120,1200,1280,1360,1440,1520,1600,1680,1760,1840,1920,2000,2080,2160,2240,2320,2400,2480,2560,2640,2720,2800,2880,2960,3040,3120,3200,3280,3360,3440,3520,3600,3680,3760,3840,3920,4000,4080,4160,4240,4320,4400,4480,4560,4640,4720,4800,4880,4960,5040,5120,5200,5280,5360,5440,5520,5600,5680,5760,5840,5920,6000,6080,6160,6240,6320,6400,6480,6560,6640,6720,6800,6880,6960,7040,7120,7200,7280,7360,7440,7520,7600,
0,82,165,248,330,413,496,578,661,744,826,909,992,1074,1157,1240,1322,1405,1488,1570,1653,1736,1818,1901,1984,2066,2149,2232,2314,2397,2480,2562,2645,2728,2810,2893,2976,3058,3141,3224,3306,3389,3472,3554,3637,3720,3802,3885,3968,4050,4133,4216,4298,4381,4464,4546,4629,4712,4794,4877,4960,5042,5125,5208,5290,5373,5456,5538,5621,5704,5786,5869,5952,6034,6117,6200,6282,6365,6448,6530,6613,6696,6778,6861,6944,7026,7109,7192,7274,7357,7440,7522,7605,7688,7770,7853,
0,85,170,256,341,426,512,597,682,768,853,938,1024,1109,1194,1280,1365,1450,1536,1621,1706,1792,1877,1962,2048,2133,2218,2304,2389,2474,2560,2645,2730,2816,2901,2986,3072,3157,3242,3328,3413,3498,3584,3669,3754,3840,3925,4010,4096,4181,4266,4352,4437,4522,4608,4693,4778,4864,4949,5034,5120,5205,5290,5376,5461,5546,5632,5717,5802,5888,5973,6058,6144,6229,6314,6400,6485,6570,6656,6741,6826,6912,6997,7082,7168,7253,7338,7424,7509,7594,7680,7765,7850,7936,8021,8106,
0,88,176,264,352,440,528,616,704,792,880,968,1056,1144,1232,1320,1408,1496,1584,1672,1760,1848,1936,2024,2112,2200,2288,2376,2464,2552,2640,2728,2816,2904,2992,3080,3168,3256,3344,3432,3520,3608,3696,3784,3872,3960,4048,4136,4224,4312,4400,4488,4576,4664,4752,4840,4928,5016,5104,5192,5280,5368,5456,5544,5632,5720,5808,5896,5984,6072,6160,6248,6336,6424,6512,6600,6688,6776,6864,6952,7040,7128,7216,7304,7392,7480,7568,7656,7744,7832,7920,8008,8096,8184,8272,8360,
0,90,181,272,362,453,544,634,725,816,906,997,1088,1178,1269,1360,1450,1541,1632,1722,1813,1904,1994,2085,2176,2266,2357,2448,2538,2629,2720,2810,2901,2992,3082,3173,3264,3354,3445,3536,3626,3717,3808,3898,3989,4080,4170,4261,4352,4442,4533,4624,4714,4805,4896,4986,5077,5168,5258,5349,5440,5530,5621,5712,5802,5893,5984,6074,6165,6256,6346,6437,6528,6618,6709,6800,6890,6981,7072,7162,7253,7344,7434,7525,7616,7706,7797,7888,7978,8069,8160,8250,8341,8432,8522,8613,
0,93,186,280,373,466,560,653,746,840,933,1026,1120,1213,1306,1400,1493,1586,1680,1773,1866,1960,2053,2146,2240,2333,2426,2520,2613,2706,2800,2893,2986,3080,3173,3266,3360,3453,3546,3640,3733,3826,3920,4013,4106,4200,4293,4386,4480,4573,4666,4760,4853,4946,5040,5133,5226,5320,5413,5506,5600,5693,5786,5880,5973,6066,6160,6253,6346,6440,6533,6626,6720,6813,6906,7000,7093,7186,7280,7373,7466,7560,7653,7746,7840,7933,8026,8120,8213,8306,8400,8493,8586,8680,8773,8866,
0,96,192,288,384,480,576,672,768,864,960,1056,1152,1248,1344,1440,1536,1632,1728,1824,1920,2016,2112,2208,2304,2400,2496,2592,2688,2784,2880,2976,3072,3168,3264,3360,3456,3552,3648,3744,3840,3936,4032,4128,4224,4320,4416,4512,4608,4704,4800,4896,4992,5088,5184,5280,5376,5472,5568,5664,5760,5856,5952,6048,6144,6240,6336,6432,6528,6624,6720,6816,6912,7008,7104,7200,7296,7392,7488,7584,7680,7776,7872,7968,8064,8160,8256,8352,8448,8544,8640,8736,8832,8928,9024,9120,
0,98,197,296,394,493,592,690,789,888,986,1085,1184,1282,1381,1480,1578,1677,1776,1874,1973,2072,2170,2269,2368,2466,2565,2664,2762,2861,2960,3058,3157,3256,3354,3453,3552,3650,3749,3848,3946,4045,4144,4242,4341,4440,4538,4637,4736,4834,4933,5032,5130,5229,5328,5426,5525,5624,5722,5821,5920,6018,6117,6216,6314,6413,6512,6610,6709,6808,6906,7005,7104,7202,7301,7400,7498,7597,7696,7794,7893,7992,8090,8189,8288,8386,8485,8584,8682,8781,8880,8978,9077,9176,9274,9373,
0,101,202,304,405,506,608,709,810,912,1013,1114,1216,1317,1418,1520,1621,1722,1824,1925,2026,2128,2229,2330,2432,2533,2634,2736,2837,2938,3040,3141,3242,3344,3445,3546,3648,3749,3850,3952,4053,4154,4256,4357,4458,4560,4661,4762,4864,4965,5066,5168,5269,5370,5472,5573,5674,5776,5877,5978,6080,6181,6282,6384,6485,6586,6688,6789,6890,6992,7093,7194,7296,7397,7498,7600,7701,7802,7904,8005,8106,8208,8309,8410,8512,8613,8714,8816,8917,9018,9120,9221,9322,9424,9525,9626,
0,104,208,312,416,520,624,728,832,936,1040,1144,1248,1352,1456,1560,1664,1768,1872,1976,2080,2184,2288,2392,2496,2600,2704,2808,2912,3016,3120,3224,3328,3432,3536,3640,3744,3848,3952,4056,4160,4264,4368,4472,4576,4680,4784,4888,4992,5096,5200,5304,5408,5512,5616,5720,5824,5928,6032,6136,6240,6344,6448,6552,6656,6760,6864,6968,7072,7176,7280,7384,7488,7592,7696,7800,7904,8008,8112,8216,8320,8424,8528,8632,8736,8840,8944,9048,9152,9256,9360,9464,9568,9672,9776,9880,
0,106,213,320,426,533,640,746,853,960,1066,1173,1280,1386,1493,1600,1706,1813,1920,2026,2133,2240,2346,2453,2560,2666,2773,2880,2986,3093,3200,3306,3413,3520,3626,3733,3840,3946,4053,4160,4266,4373,4480,4586,4693,4800,4906,5013,5120,5226,5333,5440,5546,5653,5760,5866,5973,6080,6186,6293,6400,6506,6613,6720,6826,6933,7040,7146,7253,7360,7466,7573,7680,7786,7893,8000,8106,8213,8320,8426,8533,8640,8746,8853,8960,9066,9173,9280,9386,9493,9600,9706,9813,9920,10026,10133,
0,109,218,328,437,546,656,765,874,984,1093,1202,1312,1421,1530,1640,1749,1858,1968,2077,2186,2296,2405,2514,2624,2733,2842,2952,3061,3170,3280,3389,3498,3608,3717,3826,3936,4045,4154,4264,4373,4482,4592,4701,4810,4920,5029,5138,5248,5357,5466,5576,5685,5794,5904,6013,6122,6232,6341,6450,6560,6669,6778,6888,6997,7106,7216,7325,7434,7544,7653,7762,7872,7981,8090,8200,8309,8418,8528,8637,8746,8856,8965,9074,9184,9293,9402,9512,9621,9730,9840,9949,10058,10168,10277,10386,
0,112,224,336,448,560,672,784,896,1008,1120,1232,1344,1456,1568,1680,1792,1904,2016,2128,2240,2352,2464,2576,2688,2800,2912,3024,3136,3248,3360,3472,3584,3696,3808,3920,4032,4144,4256,4368,4480,4592,4704,4816,4928,5040,5152,5264,5376,5488,5600,5712,5824,5936,6048,6160,6272,6384,6496,6608,6720,6832,6944,7056,7168,7280,7392,7504,7616,7728,7840,7952,8064,8176,8288,8400,8512,8624,8736,8848,8960,9072,9184,9296,9408,9520,9632,9744,9856,9968,10080,10192,10304,10416,10528,10640,
0,114,229,344,458,573,688,802,917,1032,1146,1261,1376,1490,1605,1720,1834,1949,2064,2178,2293,2408,2522,2637,2752,2866,2981,3096,3210,3325,3440,3554,3669,3784,3898,4013,4128,4242,4357,4472,4586,4701,4816,4930,5045,5160,5274,5389,5504,5618,5733,5848,5962,6077,6192,6306,6421,6536,6650,6765,6880,6994,7109,7224,7338,7453,7568,7682,7797,7912,8026,8141,8256,8370,8485,8600,8714,8829,8944,9058,9173,9288,9402,9517,9632,9746,9861,9976,10090,10205,10320,10434,10549,10664,10778,10893,
0,117,234,352,469,586,704,821,938,1056,1173,1290,1408,1525,1642,1760,1877,1994,2112,2229,2346,2464,2581,2698,2816,2933,3050,3168,3285,3402,3520,3637,3754,3872,3989,4106,4224,4341,4458,4576,4693,4810,4928,5045,5162,5280,5397,5514,5632,5749,5866,5984,6101,6218,6336,6453,6570,6688,6805,6922,7040,7157,7274,7392,7509,7626,7744,7861,7978,8096,8213,8330,8448,8565,8682,8800,8917,9034,9152,9269,9386,9504,9621,9738,9856,9973,10090,10208,10325,10442,10560,10677,10794,10912,11029,11146,
0,120,240,360,480,600,720,840,960,1080,1200,1320,1440,1560,1680,1800,1920,2040,2160,2280,2400,2520,2640,2760,2880,3000,3120,3240,3360,3480,3600,3720,3840,3960,4080,4200,4320,4440,4560,4680,4800,4920,5040,5160,5280,5400,5520,5640,5760,5880,6000,6120,6240,6360,6480,6600,6720,6840,6960,7080,7200,7320,7440,7560,7680,7800,7920,8040,8160,8280,8400,8520,8640,8760,8880,9000,9120,9240,9360,9480,9600,9720,9840,9960,10080,10200,10320,10440,10560,10680,10800,10920,11040,11160,11280,11400,
0,122,245,368,490,613,736,858,981,1104,1226,1349,1472,1594,1717,1840,1962,2085,2208,2330,2453,2576,2698,2821,2944,3066,3189,3312,3434,3557,3680,3802,3925,4048,4170,4293,4416,4538,4661,4784,4906,5029,5152,5274,5397,5520,5642,5765,5888,6010,6133,6256,6378,6501,6624,6746,6869,6992,7114,7237,7360,7482,7605,7728,7850,7973,8096,8218,8341,8464,8586,8709,8832,8954,9077,9200,9322,9445,9568,9690,9813,9936,10058,10181,10304,10426,10549,10672,10794,10917,11040,11162,11285,11408,11530,11653,
0,125,250,376,501,626,752,877,1002,1128,1253,1378,1504,1629,1754,1880,2005,2130,2256,2381,2506,2632,2757,2882,3008,3133,3258,3384,3509,3634,3760,3885,4010,4136,4261,4386,4512,4637,4762,4888,5013,5138,5264,5389,5514,5640,5765,5890,6016,6141,6266,6392,6517,6642,6768,6893,7018,7144,7269,7394,7520,7645,7770,7896,8021,8146,8272,8397,8522,8648,8773,8898,9024,9149,9274,9400,9525,9650,9776,9901,10026,10152,10277,10402,10528,10653,10778,10904,11029,11154,11280,11405,11530,11656,11781,11906,
0,128,256,384,512,640,768,896,1024,1152,1280,1408,1536,1664,1792,1920,2048,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3840,3968,4096,4224,4352,4480,4608,4736,4864,4992,5120,5248,5376,5504,5632,5760,5888,6016,6144,6272,6400,6528,6656,6784,6912,7040,7168,7296,7424,7552,7680,7808,7936,8064,8192,8320,8448,8576,8704,8832,8960,9088,9216,9344,9472,9600,9728,9856,9984,10112,10240,10368,10496,10624,10752,10880,11008,11136,11264,11392,11520,11648,11776,11904,12032,12160,
0,130,261,392,522,653,784,914,1045,1176,1306,1437,1568,1698,1829,1960,2090,2221,2352,2482,2613,2744,2874,3005,3136,3266,3397,3528,3658,3789,3920,4050,4181,4312,4442,4573,4704,4834,4965,5096,5226,5357,5488,5618,5749,5880,6010,6141,6272,6402,6533,6664,6794,6925,7056,7186,7317,7448,7578,7709,7840,7970,8101,8232,8362,8493,8624,8754,8885,9016,9146,9277,9408,9538,9669,9800,9930,10061,10192,10322,10453,10584,10714,10845,10976,11106,11237,11368,11498,11629,11760,11890,12021,12152,12282,12413,
0,133,266,400,533,666,800,933,1066,1200,1333,1466,1600,1733,1866,2000,2133,2266,2400,2533,2666,2800,2933,3066,3200,3333,3466,3600,3733,3866,4000,4133,4266,4400,4533,4666,4800,4933,5066,5200,5333,5466,5600,5733,5866,6000,6133,6266,6400,6533,6666,6800,6933,7066,7200,7333,7466,7600,7733,7866,8000,8133,8266,8400,8533,8666,8800,8933,9066,9200,9333,9466,9600,9733,9866,10000,10133,10266,10400,10533,10666,10800,10933,11066,11200,11333,11466,11600,11733,11866,12000,12133,12266,12400,12533,12666,
0,136,272,408,544,680,816,952,1088,1224,1360,1496,1632,1768,1904,2040,2176,2312,2448,2584,2720,2856,2992,3128,3264,3400,3536,3672,3808,3944,4080,4216,4352,4488,4624,4760,4896,5032,5168,5304,5440,5576,5712,5848,5984,6120,6256,6392,6528,6664,6800,6936,7072,7208,7344,7480,7616,7752,7888,8024,8160,8296,8432,8568,8704,8840,8976,9112,9248,9384,9520,9656,9792,9928,10064,10200,10336,10472,10608,10744,10880,11016,11152,11288,11424,11560,11696,11832,11968,12104,12240,12376,12512,12648,12784,12920,
0,138,277,416,554,693,832,970,1109,1248,1386,1525,1664,1802,1941,2080,2218,2357,2496,2634,2773,2912,3050,3189,3328,3466,3605,3744,3882,4021,4160,4298,4437,4576,4714,4853,4992,5130,5269,5408,5546,5685,5824,5962,6101,6240,6378,6517,6656,6794,6933,7072,7210,7349,7488,7626,7765,7904,8042,8181,8320,8458,8597,8736,8874,9013,9152,9290,9429,9568,9706,9845,9984,10122,10261,10400,10538,10677,10816,10954,11093,11232,11370,11509,11648,11786,11925,12064,12202,12341,12480,12618,12757,12896,13034,13173,
0,141,282,424,565,706,848,989,1130,1272,1413,1554,1696,1837,1978,2120,2261,2402,2544,2685,2826,2968,3109,3250,3392,3533,3674,3816,3957,4098,4240,4381,4522,4664,4805,4946,5088,5229,5370,5512,5653,5794,5936,6077,6218,6360,6501,6642,6784,6925,7066,7208,7349,7490,7632,7773,7914,8056,8197,8338,8480,8621,8762,8904,9045,9186,9328,9469,9610,9752,9893,10034,10176,10317,10458,10600,10741,10882,11024,11165,11306,11448,11589,11730,11872,12013,12154,12296,12437,12578,12720,12861,13002,13144,13285,13426,
0,144,288,432,576,720,864,1008,1152,1296,1440,1584,1728,1872,2016,2160,2304,2448,2592,2736,2880,3024,3168,3312,3456,3600,3744,3888,4032,4176,4320,4464,4608,4752,4896,5040,5184,5328,5472,5616,5760,5904,6048,6192,6336,6480,6624,6768,6912,7056,7200,7344,7488,7632,7776,7920,8064,8208,8352,8496,8640,8784,8928,9072,9216,9360,9504,9648,9792,9936,10080,10224,10368,10512,10656,10800,10944,11088,11232,11376,11520,11664,11808,11952,12096,12240,12384,12528,12672,12816,12960,13104,13248,13392,13536,13680,
0,146,293,440,586,733,880,1026,1173,1320,1466,1613,1760,1906,2053,2200,2346,2493,2640,2786,2933,3080,3226,3373,3520,3666,3813,3960,4106,4253,4400,4546,4693,4840,4986,5133,5280,5426,5573,5720,5866,6013,6160,6306,6453,6600,6746,6893,7040,7186,7333,7480,7626,7773,7920,8066,8213,8360,8506,8653,8800,8946,9093,9240,9386,9533,9680,9826,9973,10120,10266,10413,10560,10706,10853,11000,11146,11293,11440,11586,11733,11880,12026,12173,12320,12466,12613,12760,12906,13053,13200,13346,13493,13640,13786,13933,
0,149,298,448,597,746,896,1045,1194,1344,1493,1642,1792,1941,2090,2240,2389,2538,2688,2837,2986,3136,3285,3434,3584,3733,3882,4032,4181,4330,4480,4629,4778,4928,5077,5226,5376,5525,5674,5824,5973,6122,6272,6421,6570,6720,6869,7018,7168,7317,7466,7616,7765,7914,8064,8213,8362,8512,8661,8810,8960,9109,9258,9408,9557,9706,9856,10005,10154,10304,10453,10602,10752,10901,11050,11200,11349,11498,11648,11797,11946,12096,12245,12394,12544,12693,12842,12992,13141,13290,13440,13589,13738,13888,14037,14186,
0,152,304,456,608,760,912,1064,1216,1368,1520,1672,1824,1976,2128,2280,2432,2584,2736,2888,3040,3192,3344,3496,3648,3800,3952,4104,4256,4408,4560,4712,4864,5016,5168,5320,5472,5624,5776,5928,6080,6232,6384,6536,6688,6840,6992,7144,7296,7448,7600,7752,7904,8056,8208,8360,8512,8664,8816,8968,9120,9272,9424,9576,9728,9880,10032,10184,10336,10488,10640,10792,10944,11096,11248,11400,11552,11704,11856,12008,12160,12312,12464,12616,12768,12920,13072,13224,13376,13528,13680,13832,13984,14136,14288,14440,
0,154,309,464,618,773,928,1082,1237,1392,1546,1701,1856,2010,2165,2320,2474,2629,2784,2938,3093,3248,3402,3557,3712,3866,4021,4176,4330,4485,4640,4794,4949,5104,5258,5413,5568,5722,5877,6032,6186,6341,6496,6650,6805,6960,7114,7269,7424,7578,7733,7888,8042,8197,8352,8506,8661,8816,8970,9125,9280,9434,9589,9744,9898,10053,10208,10362,10517,10672,10826,10981,11136,11290,11445,11600,11754,11909,12064,12218,12373,12528,12682,12837,12992,13146,13301,13456,13610,13765,13920,14074,14229,14384,14538,14693,
0,157,314,472,629,786,944,1101,1258,1416,1573,1730,1888,2045,2202,2360,2517,2674,2832,2989,3146,3304,3461,3618,3776,3933,4090,4248,4405,4562,4720,4877,5034,5192,5349,5506,5664,5821,5978,6136,6293,6450,6608,6765,6922,7080,7237,7394,7552,7709,7866,8024,8181,8338,8496,8653,8810,8968,9125,9282,9440,9597,9754,9912,10069,10226,10384,10541,10698,10856,11013,11170,11328,11485,11642,11800,11957,12114,12272,12429,12586,12744,12901,13058,13216,13373,13530,13688,13845,14002,14160,14317,14474,14632,14789,14946,
0,160,320,480,640,800,960,1120,1280,1440,1600,1760,1920,2080,2240,2400,2560,2720,2880,3040,3200,3360,3520,3680,3840,4000,4160,4320,4480,4640,4800,4960,5120,5280,5440,5600,5760,5920,6080,6240,6400,6560,6720,6880,7040,7200,7360,7520,7680,7840,8000,8160,8320,8480,8640,8800,8960,9120,9280,9440,9600,9760,9920,10080,10240,10400,10560,10720,10880,11040,11200,11360,11520,11680,11840,12000,12160,12320,12480,12640,12800,12960,13120,13280,13440,13600,13760,13920,14080,14240,14400,14560,14720,14880,15040,15200,
0,162,325,488,650,813,976,1138,1301,1464,1626,1789,1952,2114,2277,2440,2602,2765,2928,3090,3253,3416,3578,3741,3904,4066,4229,4392,4554,4717,4880,5042,5205,5368,5530,5693,5856,6018,6181,6344,6506,6669,6832,6994,7157,7320,7482,7645,7808,7970,8133,8296,8458,8621,8784,8946,9109,9272,9434,9597,9760,9922,10085,10248,10410,10573,10736,10898,11061,11224,11386,11549,11712,11874,12037,12200,12362,12525,12688,12850,13013,13176,13338,13501,13664,13826,13989,14152,14314,14477,14640,14802,14965,15128,15290,15453,
0,165,330,496,661,826,992,1157,1322,1488,1653,1818,1984,2149,2314,2480,2645,2810,2976,3141,3306,3472,3637,3802,3968,4133,4298,4464,4629,4794,4960,5125,5290,5456,5621,5786,5952,6117,6282,6448,6613,6778,6944,7109,7274,7440,7605,7770,7936,8101,8266,8432,8597,8762,8928,9093,9258,9424,9589,9754,9920,10085,10250,10416,10581,10746,10912,11077,11242,11408,11573,11738,11904,12069,12234,12400,12565,12730,12896,13061,13226,13392,13557,13722,13888,14053,14218,14384,14549,14714,14880,15045,15210,15376,15541,15706,
0,168,336,504,672,840,1008,1176,1344,1512,1680,1848,2016,2184,2352,2520,2688,2856,3024,3192,3360,3528,3696,3864,4032,4200,4368,4536,4704,4872,5040,5208,5376,5544,5712,5880,6048,6216,6384,6552,6720,6888,7056,7224,7392,7560,7728,7896,8064,8232,8400,8568,8736,8904,9072,9240,9408,9576,9744,9912,10080,10248,10416,10584,10752,10920,11088,11256,11424,11592,11760,11928,12096,12264,12432,12600,12768,12936,13104,13272,13440,13608,13776,13944,14112,14280,14448,14616,14784,14952,15120,15288,15456,15624,15792,15960,
0,170,341,512,682,853,1024,1194,1365,1536,1706,1877,2048,2218,2389,2560,2730,2901,3072,3242,3413,3584,3754,3925,4096,4266,4437,4608,4778,4949,5120,5290,5461,5632,5802,5973,6144,6314,6485,6656,6826,6997,7168,7338,7509,7680,7850,8021,8192,8362,8533,8704,8874,9045,9216,9386,9557,9728,9898,10069,10240,10410,10581,10752,10922,11093,11264,11434,11605,11776,11946,12117,12288,12458,12629,12800,12970,13141,13312,13482,13653,13824,13994,14165,14336,14506,14677,14848,15018,15189,15360,15530,15701,15872,16042,16213,

};
const BYTE g_ScaleYTable[64-16+1][96] = {
0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,11,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,15,15,15,15,15,15,
0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,
0,0,0,0,0,0,1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,14,14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,17,17,17,17,17,
0,0,0,0,0,0,1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,8,8,8,8,8,9,9,9,9,9,10,10,10,10,10,11,11,11,11,11,12,12,12,12,12,13,13,13,13,13,14,14,14,14,14,15,15,15,15,15,16,16,16,16,16,17,17,17,17,17,18,18,18,18,18,
0,0,0,0,0,1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,8,8,8,8,8,9,9,9,9,10,10,10,10,10,11,11,11,11,11,12,12,12,12,12,13,13,13,13,13,14,14,14,14,15,15,15,15,15,16,16,16,16,16,17,17,17,17,17,18,18,18,18,18,19,19,19,19,
0,0,0,0,0,1,1,1,1,1,2,2,2,2,3,3,3,3,3,4,4,4,4,5,5,5,5,5,6,6,6,6,7,7,7,7,7,8,8,8,8,8,9,9,9,9,10,10,10,10,10,11,11,11,11,12,12,12,12,12,13,13,13,13,14,14,14,14,14,15,15,15,15,15,16,16,16,16,17,17,17,17,17,18,18,18,18,19,19,19,19,19,20,20,20,20,
0,0,0,0,0,1,1,1,1,2,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,11,12,12,12,12,13,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,20,20,20,20,21,21,21,21,
0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,
0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,
0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,
0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,4,4,4,4,5,5,5,5,6,6,6,7,7,7,7,8,8,8,8,9,9,9,10,10,10,10,11,11,11,11,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,20,20,20,20,21,21,21,21,22,22,22,23,23,23,23,24,24,24,24,25,25,25,
0,0,0,0,1,1,1,1,2,2,2,3,3,3,3,4,4,4,5,5,5,5,6,6,6,7,7,7,7,8,8,8,9,9,9,9,10,10,10,10,11,11,11,12,12,12,12,13,13,13,14,14,14,14,15,15,15,16,16,16,16,17,17,17,18,18,18,18,19,19,19,19,20,20,20,21,21,21,21,22,22,22,23,23,23,23,24,24,24,25,25,25,25,26,26,26,
0,0,0,0,1,1,1,2,2,2,2,3,3,3,4,4,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,9,9,9,9,10,10,10,11,11,11,11,12,12,12,13,13,13,14,14,14,14,15,15,15,16,16,16,16,17,17,17,18,18,18,18,19,19,19,20,20,20,21,21,21,21,22,22,22,23,23,23,23,24,24,24,25,25,25,25,26,26,26,27,27,27,
0,0,0,0,1,1,1,2,2,2,3,3,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,8,8,8,9,9,9,9,10,10,10,11,11,11,12,12,12,12,13,13,13,14,14,14,15,15,15,16,16,16,16,17,17,17,18,18,18,19,19,19,19,20,20,20,21,21,21,22,22,22,22,23,23,23,24,24,24,25,25,25,25,26,26,26,27,27,27,28,28,28,
0,0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,20,20,20,20,21,21,21,22,22,22,23,23,23,24,24,24,25,25,25,25,26,26,26,27,27,27,28,28,28,29,29,29,
0,0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,20,20,20,20,21,21,21,22,22,22,23,23,23,24,24,24,25,25,25,26,26,26,27,27,27,28,28,28,29,29,29,30,30,30,
0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,21,22,22,22,23,23,23,24,24,24,25,25,25,26,26,26,27,27,27,28,28,28,29,29,29,30,30,30,31,31,31,
0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,22,22,22,23,23,23,24,24,24,25,25,25,26,26,26,27,27,27,28,28,28,29,29,29,30,30,30,31,31,31,32,32,
0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,12,12,12,13,13,13,14,14,14,15,15,15,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,21,22,22,23,23,23,24,24,24,25,25,25,26,26,26,27,27,27,28,28,29,29,29,30,30,30,31,31,31,32,32,32,33,33,
0,0,0,1,1,1,2,2,2,3,3,4,4,4,5,5,5,6,6,6,7,7,8,8,8,9,9,9,10,10,10,11,11,12,12,12,13,13,13,14,14,14,15,15,16,16,16,17,17,17,18,18,18,19,19,20,20,20,21,21,21,22,22,22,23,23,24,24,24,25,25,25,26,26,26,27,27,28,28,28,29,29,29,30,30,30,31,31,32,32,32,33,33,33,34,34,
0,0,0,1,1,1,2,2,3,3,3,4,4,4,5,5,6,6,6,7,7,7,8,8,9,9,9,10,10,10,11,11,12,12,12,13,13,13,14,14,15,15,15,16,16,16,17,17,18,18,18,19,19,19,20,20,21,21,21,22,22,22,23,23,24,24,24,25,25,25,26,26,27,27,27,28,28,28,29,29,30,30,30,31,31,31,32,32,33,33,33,34,34,34,35,35,
0,0,0,1,1,1,2,2,3,3,3,4,4,5,5,5,6,6,6,7,7,8,8,8,9,9,10,10,10,11,11,11,12,12,13,13,13,14,14,15,15,15,16,16,16,17,17,18,18,18,19,19,20,20,20,21,21,21,22,22,23,23,23,24,24,25,25,25,26,26,26,27,27,28,28,28,29,29,30,30,30,31,31,31,32,32,33,33,33,34,34,35,35,35,36,36,
0,0,0,1,1,1,2,2,3,3,3,4,4,5,5,5,6,6,7,7,7,8,8,9,9,9,10,10,11,11,11,12,12,13,13,13,14,14,15,15,15,16,16,17,17,17,18,18,19,19,19,20,20,20,21,21,22,22,22,23,23,24,24,24,25,25,26,26,26,27,27,28,28,28,29,29,30,30,30,31,31,32,32,32,33,33,34,34,34,35,35,36,36,36,37,37,
0,0,0,1,1,2,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8,8,9,9,10,10,10,11,11,12,12,13,13,13,14,14,15,15,15,16,16,17,17,17,18,18,19,19,19,20,20,21,21,21,22,22,23,23,23,24,24,25,25,26,26,26,27,27,28,28,28,29,29,30,30,30,31,31,32,32,32,33,33,34,34,34,35,35,36,36,36,37,37,38,38,
0,0,0,1,1,2,2,2,3,3,4,4,5,5,5,6,6,7,7,7,8,8,9,9,10,10,10,11,11,12,12,12,13,13,14,14,15,15,15,16,16,17,17,17,18,18,19,19,20,20,20,21,21,22,22,22,23,23,24,24,25,25,25,26,26,27,27,27,28,28,29,29,30,30,30,31,31,32,32,32,33,33,34,34,35,35,35,36,36,37,37,37,38,38,39,39,
0,0,0,1,1,2,2,2,3,3,4,4,5,5,5,6,6,7,7,8,8,8,9,9,10,10,11,11,11,12,12,13,13,14,14,14,15,15,16,16,17,17,17,18,18,19,19,20,20,20,21,21,22,22,23,23,23,24,24,25,25,26,26,26,27,27,28,28,29,29,29,30,30,31,31,32,32,32,33,33,34,34,35,35,35,36,36,37,37,38,38,38,39,39,40,40,
0,0,0,1,1,2,2,3,3,3,4,4,5,5,6,6,7,7,7,8,8,9,9,10,10,10,11,11,12,12,13,13,14,14,14,15,15,16,16,17,17,17,18,18,19,19,20,20,21,21,21,22,22,23,23,24,24,24,25,25,26,26,27,27,28,28,28,29,29,30,30,31,31,31,32,32,33,33,34,34,35,35,35,36,36,37,37,38,38,38,39,39,40,40,41,41,
0,0,0,1,1,2,2,3,3,4,4,4,5,5,6,6,7,7,8,8,8,9,9,10,10,11,11,12,12,12,13,13,14,14,15,15,16,16,17,17,17,18,18,19,19,20,20,21,21,21,22,22,23,23,24,24,25,25,25,26,26,27,27,28,28,29,29,30,30,30,31,31,32,32,33,33,34,34,34,35,35,36,36,37,37,38,38,38,39,39,40,40,41,41,42,42,
0,0,0,1,1,2,2,3,3,4,4,5,5,5,6,6,7,7,8,8,9,9,10,10,11,11,11,12,12,13,13,14,14,15,15,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,22,23,23,24,24,25,25,26,26,27,27,27,28,28,29,29,30,30,31,31,32,32,33,33,33,34,34,35,35,36,36,37,37,38,38,38,39,39,40,40,41,41,42,42,43,43,
0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,
0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33,34,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,
0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,
0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,
0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,
0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,49,
0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,43,43,44,44,45,45,46,46,47,47,48,48,49,49,50,
0,0,1,1,2,2,3,3,4,4,5,5,6,7,7,8,8,9,9,10,10,11,11,12,13,13,14,14,15,15,16,16,17,17,18,18,19,20,20,21,21,22,22,23,23,24,24,25,26,26,27,27,28,28,29,29,30,30,31,31,32,33,33,34,34,35,35,36,36,37,37,38,39,39,40,40,41,41,42,42,43,43,44,44,45,46,46,47,47,48,48,49,49,50,50,51,
0,0,1,1,2,2,3,3,4,4,5,6,6,7,7,8,8,9,9,10,11,11,12,12,13,13,14,14,15,16,16,17,17,18,18,19,19,20,20,21,22,22,23,23,24,24,25,25,26,27,27,28,28,29,29,30,30,31,32,32,33,33,34,34,35,35,36,36,37,38,38,39,39,40,40,41,41,42,43,43,44,44,45,45,46,46,47,48,48,49,49,50,50,51,51,52,
0,0,1,1,2,2,3,3,4,5,5,6,6,7,7,8,9,9,10,10,11,11,12,12,13,14,14,15,15,16,16,17,18,18,19,19,20,20,21,21,22,23,23,24,24,25,25,26,27,27,28,28,29,29,30,30,31,32,32,33,33,34,34,35,36,36,37,37,38,38,39,39,40,41,41,42,42,43,43,44,45,45,46,46,47,47,48,48,49,50,50,51,51,52,52,53,
0,0,1,1,2,2,3,4,4,5,5,6,6,7,8,8,9,9,10,10,11,12,12,13,13,14,14,15,16,16,17,17,18,18,19,20,20,21,21,22,22,23,24,24,25,25,26,26,27,28,28,29,29,30,30,31,32,32,33,33,34,34,35,36,36,37,37,38,38,39,40,40,41,41,42,42,43,44,44,45,45,46,46,47,48,48,49,49,50,50,51,52,52,53,53,54,
0,0,1,1,2,2,3,4,4,5,5,6,7,7,8,8,9,9,10,11,11,12,12,13,14,14,15,15,16,16,17,18,18,19,19,20,21,21,22,22,23,23,24,25,25,26,26,27,28,28,29,29,30,30,31,32,32,33,33,34,35,35,36,36,37,37,38,39,39,40,40,41,42,42,43,43,44,44,45,46,46,47,47,48,49,49,50,50,51,51,52,53,53,54,54,55,
0,0,1,1,2,2,3,4,4,5,5,6,7,7,8,8,9,10,10,11,11,12,13,13,14,14,15,16,16,17,17,18,19,19,20,20,21,21,22,23,23,24,24,25,26,26,27,27,28,29,29,30,30,31,32,32,33,33,34,35,35,36,36,37,38,38,39,39,40,40,41,42,42,43,43,44,45,45,46,46,47,48,48,49,49,50,51,51,52,52,53,54,54,55,55,56,
0,0,1,1,2,3,3,4,4,5,6,6,7,7,8,9,9,10,10,11,12,12,13,13,14,15,15,16,16,17,18,18,19,19,20,21,21,22,22,23,24,24,25,25,26,27,27,28,29,29,30,30,31,32,32,33,33,34,35,35,36,36,37,38,38,39,39,40,41,41,42,42,43,44,44,45,45,46,47,47,48,48,49,50,50,51,51,52,53,53,54,54,55,56,56,57,
0,0,1,1,2,3,3,4,4,5,6,6,7,7,8,9,9,10,11,11,12,12,13,14,14,15,15,16,17,17,18,19,19,20,20,21,22,22,23,23,24,25,25,26,27,27,28,28,29,30,30,31,31,32,33,33,34,35,35,36,36,37,38,38,39,39,40,41,41,42,43,43,44,44,45,46,46,47,47,48,49,49,50,51,51,52,52,53,54,54,55,55,56,57,57,58,
0,0,1,1,2,3,3,4,5,5,6,6,7,8,8,9,10,10,11,11,12,13,13,14,15,15,16,16,17,18,18,19,20,20,21,21,22,23,23,24,25,25,26,26,27,28,28,29,30,30,31,31,32,33,33,34,35,35,36,36,37,38,38,39,40,40,41,41,42,43,43,44,45,45,46,46,47,48,48,49,50,50,51,51,52,53,53,54,55,55,56,56,57,58,58,59,
0,0,1,1,2,3,3,4,5,5,6,6,7,8,8,9,10,10,11,12,12,13,13,14,15,15,16,17,17,18,19,19,20,20,21,22,22,23,24,24,25,26,26,27,27,28,29,29,30,31,31,32,33,33,34,34,35,36,36,37,38,38,39,40,40,41,41,42,43,43,44,45,45,46,47,47,48,48,49,50,50,51,52,52,53,54,54,55,55,56,57,57,58,59,59,60,
0,0,1,1,2,3,3,4,5,5,6,7,7,8,9,9,10,10,11,12,12,13,14,14,15,16,16,17,18,18,19,20,20,21,21,22,23,23,24,25,25,26,27,27,28,29,29,30,31,31,32,32,33,34,34,35,36,36,37,38,38,39,40,40,41,41,42,43,43,44,45,45,46,47,47,48,49,49,50,51,51,52,52,53,54,54,55,56,56,57,58,58,59,60,60,61,
0,0,1,1,2,3,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,22,23,24,24,25,26,26,27,28,28,29,30,30,31,32,32,33,34,34,35,36,36,37,38,38,39,40,40,41,42,42,43,43,44,45,45,46,47,47,48,49,49,50,51,51,52,53,53,54,55,55,56,57,57,58,59,59,60,61,61,62,
0,0,1,2,2,3,4,4,5,6,6,7,8,8,9,10,10,11,12,12,13,14,14,15,16,16,17,18,18,19,20,20,21,22,22,23,24,24,25,26,26,27,28,28,29,30,30,31,32,32,33,34,34,35,36,36,37,38,38,39,40,40,41,42,42,43,44,44,45,46,46,47,48,48,49,50,50,51,52,52,53,54,54,55,56,56,57,58,58,59,60,60,61,62,62,63,

};

